package com.py.credit.service.impl;

import com.py.credit.dao.PlatformApiDao;
import com.py.credit.service.PlatformApiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.LinkedHashMap;

@Service
public class PlatformApiServiceImpl implements PlatformApiService {

    @Autowired
    private PlatformApiDao platformApiDao;

    @Override
    public LinkedHashMap getCompanyInfo(String ztmc) {
        return platformApiDao.selectCompanyInfoByZtmc(ztmc);
    }
}
